package com.example.wallet.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.wallet.dao.WalletMapper;
import com.example.wallet.entity.Wallet;
import com.example.wallet.service.IWalletService;
import org.springframework.stereotype.Service;

@Service
public class WalletServiceImpl extends ServiceImpl<WalletMapper, Wallet> implements IWalletService {
    @Override
    public Wallet balanceInquiry(Integer userId) {
        return getById(userId);
    }
}
